package com.woniuxy.reservation.infra.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 排队取号表
 * </p>
 *
 * @author Lucas
 * @since 2023-07-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("take_num")
public class TakeNum implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 排队号ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 取号人ID
     */
    private Integer memberId;

    /**
     * 预约桌型ID
     */
    private Integer tableTypeId;

    /**
     * 商家ID
     */
    private Integer storeId;

    /**
     * 排队号
     */
    private Integer waitNum;

    /**
     * 取号时间
     */
    private Date takeNumTime;

    /**
     * 等待时间
     */
    private String waitTime;

    /**
     * 取号状态：排队中WAITING | 已过号DISABLED | 已就餐DINED
     */
    private String numState;


}
